package com.wwj.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wwj
 */
@Data
@TableName(value = "cmfz_article")
public class CmfzArticle implements Serializable {
    public static final String COL_ARTICLE_ID = "article_id";
    public static final String COL_ARTICLE_NAME = "article_name";
    public static final String COL_ARTICLE_IMAGE = "article_image";
    public static final String COL_ARTICLE_CONTENT = "article_content";
    public static final String COL_GURU_ID = "guru_id";
    public static final String COL_ARTICLE_DATE = "article_date";
    @TableId(value = "article_id", type = IdType.AUTO)
    private Integer articleId;
    @TableField(value = "article_name")
    private String articleName;
    @TableField(value = "article_image")
    private String articleImage;
    @TableField(value = "article_content")
    private String articleContent;
    @TableField(value = "guru_id")
    private Integer guruId;
    @TableField(value = "article_date")
    private Date articleDate;
}